package com.java.androidmarket.service;

import com.java.androidmarket.entity.Address;

import java.util.List;

/**
 * description:
 * author:张腾
 * date:2021-05-08
 */
public interface AddressService {

    List<Address> getAddress(int userId);

    Address getDefaultAdd(int userId);

    void newAdd(Address address);

    void updateAdd(Address address);

    void deleteAdd(int addressId);

    int getUserId(int addressId);

    void updateState(int addressId,int state);
}
